import { createUniFetch } from 'uni-app-fetch'

export const uniFetch = createUniFetch({
	loading: { title: '正在加载当中……' },
	baseURL: 'https://slwl-api.itheima.net',
	intercept: {
		request(options) {
			return options
		},
		response(result) {
			return result
		},
	},
})
